package com.gzk.hrm.dto;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class UserRegisterDto {

    @NotEmpty(message = "手机号不能为空")
    private String mobile;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotNull(message = "非法参数")
    private Integer regChannel;
    @NotEmpty(message = "验证码不能为空")
    private String smsCode;
}
